package com.han.hotelplat.service.hotelmanager;

import java.util.List;
import java.util.Map;

import com.han.hotelplat.comm.base.Pager;
import com.han.hotelplat.pojo.hotelmanager.Hotelmanager;


public interface HotelmanagerService {
	/**
	 * 
		 * @description	
		 * @author  han1088
		 * @param phone 电话号码
		 * @param code 验证码
		 * @return
	 */
	Map<String, Object> login(String phone, String code);

	Map quickLogin(String userid);

	void update(Hotelmanager hotelmanager);

	Hotelmanager findByUserid(String userid);

	void save(Hotelmanager hm);

	Map<String, Integer> getHotelCount();

	Hotelmanager findByTel(String tel);

	Map loginByPassword(String phone, String password);

	Pager<Hotelmanager> findHotelManager(int hotelId, String param,int pageNum);

	List<Hotelmanager> findBindHotelManager(Integer hotelId);

	List<Hotelmanager> getBindHotelManager(Integer hotelId, String userid);

	Pager<Hotelmanager> findAllHotelManager(String startDate, String endDate,
			Integer position, String param, Integer pageNum);

	Map<String, Integer> getHMCount();

	Hotelmanager getHMDetailInfo(String userid);

	List<Hotelmanager> exportAllHotelManager(String startDate, String endDate,
			Integer position, String param);
}
